package com.bee.caf_ss_android.common;

import android.app.Activity;
import android.content.Intent;

/**
 * lv.lin
 * 工具集合
 */
public class Tools {

    /**
     *
     * @param activity
     * @param cls
     * @param isCloseThis
     */
    public static void refPage(Activity activity, Class cls, Boolean isCloseThis){
        Intent intent = new Intent() ;
        intent.setClass(activity,cls) ;
        activity.startActivity(intent);
        if(isCloseThis){
            activity.finish();
        }
    }
}
